package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class OfPathResolvedUserDefinedTypeName implements TableContentsSource {

    private int beginIndex;
    private int endIndex;
    private SchemaQualifiedName pathResolvedUserDefinedTypeName;
    private SubtableClause subtableClause;
    private TableElementList tableElementList;

    public OfPathResolvedUserDefinedTypeName(int beginIndex,
                                             int endIndex,
                                             SchemaQualifiedName pathResolvedUserDefinedTypeName,
                                             SubtableClause subtableClause,
                                             TableElementList tableElementList) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.pathResolvedUserDefinedTypeName = pathResolvedUserDefinedTypeName;
        this.subtableClause = subtableClause;
        this.tableElementList = tableElementList;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public SchemaQualifiedName getPathResolvedUserDefinedTypeName() {
        return pathResolvedUserDefinedTypeName;
    }

    public SubtableClause getSubtableClause() {
        return subtableClause;
    }

    public TableElementList getTableElementList() {
        return tableElementList;
    }

}
